projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e85702
)
color-swatch: render a background if the swatch doesn't have a color
author
Cosimo Cecchi
<cosimoc@gnome.org>
Fri, 17 Feb 2012 17:57:24 +0000
(18:57 +0100)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Sat, 18 Feb 2012 08:55:45 +0000
(09:55 +0100)
We still want to call into the background rendering code, to draw the
default background.
gtk/gtkcolorswatch.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcolorswatch.c
b/gtk/gtkcolorswatch.c
index f0bde916488952bdb44d7d4b30eb4139d7e7f32c..0429455124818d4c05ed5145406652ebc9f77f96 100644
(file)
--- a/
gtk/gtkcolorswatch.c
+++ b/
gtk/gtkcolorswatch.c
@@
-145,6
+145,8
@@
swatch_draw (GtkWidget *widget,
_gtk_theming_background_render (&background, cr);
}
+ else
+ _gtk_theming_background_render (&background, cr);
gtk_render_frame (context, cr,
0, 0, width, height);